<% @page_title = ' :: New User' %>

<% content_for :sidebar do %>
	<div class="little_infos">
		<div class="little_content"><%= awareness_message %></div>
	</div>

	<%= render :partial => 'shared/login_space' %>
<% end %>

<h1><%= image_tag('user_active_small.png') %>&nbsp;New User</h1>

<% form_for :user, :url => {:action => "create"} do |f| -%>
<% field_set_tag do %>
	<div class="span-7">
		<p><label for="name">Name</label><br/>
		<%= f.text_field :name, :class => 'text required_field' %></p>
	</div>

	<div class="span-7">
		<p><label for="email">Email</label><br/>
		<%= f.text_field :email, :class => 'text required_field' %></p>
	</div>
	
	<hr class="separator" />
	
	<div class="span-17 last">
		<p><label for="login">Login</label><br/>
		<%= f.text_field :login, :class => 'text required_field' %></p>
	</div>
	
	<hr class="separator" />
	
	<div class="span-7">
		<p><label for="password">Password</label><br/>
		<%= f.password_field :password, :class => 'text required_field' %></p>
	</div>
	
	<div class="span-7 last">
		<p><label for="password_confirmation">Confirm Password</label><br/>
		<%= f.password_field :password_confirmation, :class => 'text required_field' %></p>
	</div>
<% end -%>
	<div class="span-17 centered">
		<p><%= submit_tag 'Sign up', :disable_with => "Registering&hellip;", :class => 'buttons' %></p>
	</div>
<% end -%>